package com.klf.system.action;

import com.klf.po.Cuisinetype;
import com.klf.system.bo.CuisinetypeBoImpl;
import com.opensymphony.xwork2.ActionSupport;
public class CuisinetypeAction extends ActionSupport {
	
	/**
	 *  Action
	 */
	private static final long serialVersionUID = 1L;
	
	private Cuisinetype cuisinetype;
	private CuisinetypeBoImpl cuisinetypeBoImpl;
	
	

	public String save() throws Exception{		
		try {
			cuisinetypeBoImpl.add(cuisinetype);
			return SUCCESS;
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
			return INPUT;
		}
		
	}



	public Cuisinetype getCuisinetype() {
		return cuisinetype;
	}



	public void setCuisinetype(Cuisinetype cuisinetype) {
		this.cuisinetype = cuisinetype;
	}



	public CuisinetypeBoImpl getCuisinetypeBoImpl() {
		return cuisinetypeBoImpl;
	}



	public void setCuisinetypeBoImpl(CuisinetypeBoImpl cuisinetypeBoImpl) {
		this.cuisinetypeBoImpl = cuisinetypeBoImpl;
	}
	
}
